import { axios } from '@/utils/request'

const api = {
  execTest: '/validate/rule-executor/execTest',
  execOneRule: '/validate/rule-executor/execOneRule'
}

export function execOneRule (data) {
  return axios({
    url: api.execOneRule,
    data: data,
    method: 'post'
  })
}
export function execTest (data) {
  return axios({
    url: api.execTest,
    data: data,
    method: 'post'
  })
}
